package itcast.lsf.domain;

import java.util.Date;

public class User {
    private String name;
    private Integer age;
    private Date date;

    //有参构造时，配置文件只能用间接的方式来创建bean类对象
    //同时bean注入需要指定数据类型，或者根据索引，或者name指定名字，或者ref等方式
    public User(String name, Integer age, Date date) {
        this.name = name;
        this.age = age;
        this.date = date;
    }
    public void testPut(){
        System.out.println(name+","+age+","+date);
    }
}
